Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix for AddPortMapping and DeletePortMapping actions #19

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

christopher-inegbedion
Copy link

Content-Length is a required header (UPNP device architecture document: https://openconnectivity.org/upnp-specs/UPnP-arch-DeviceArchitecture-v2.0-20200417.pdf), and was not present in the previous commit. Without the Content-Length header the AddPortMapping and DeletePortMapping actions return a 402 error. The User-Agent header is optional and was not important to my work so I removed it, but it can be added back if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant